/*
 * @Author: doing
 * @Date: 2023-08-09 21:10:33
 * @LastEditors: git config user.name && git config user.email
 * @LastEditTime: 2023-08-09 21:18:38
 * @FilePath: \线狮少年\src\store\modules\menu.js
 * @Description: 
 * 
 * Copyright (c) 2023 by 1540265624@qq.com, All Rights Reserved. 
 */

const state = () => ({
    name: '我是menu模块'
})
const getters = {
    text: (state, getters, rootState) => {

    }
}
const mutations = {
    getInfo (state, params){

        
    }
}

const actions = {
    async text({ commit,state }, params){
        //变量
        try{
            //执行promise函数(api)
        } catch (e){

        }
    },
}
export default {
    namespaced: true,
    state,
    getters,
    actions,
    mutations,
    //嵌套模块
    // modules:{
    //     nested
    // }
}
